package com.yt.phone.models.dto;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 用户电话信息DTO
 *
 * @author lizicong
 * @Date 2025-11-17 09:11:31
 */
@Data
@TableName("phone")
@ApiModel(value="用户电话信息对象", description="用户电话信息对象")
public class PhoneDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "电话卡id")
    @TableId(value = "phone_id", type = IdType.AUTO)
    private Long phoneId;
    @ApiModelProperty(value = "")
    private Long userId;
    @ApiModelProperty(value = "电话号码")
    private String phoneNumber;
    @ApiModelProperty(value = "归属地")
    private String phoneAddress;
    @ApiModelProperty(value = "状态0停用，1启用")
    private Integer status;
    @ApiModelProperty(value = "服务商")
    private String supplier;
}